package com.huangwenshuo.futurestarschoolmanagement.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangwenshuo
 * @since 2021-03-06
 */
@TableName("works")
public class WorksPo implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 作品id
     */
    @TableId(value = "wid", type = IdType.AUTO)
    private Integer wid;

    /**
     * 作品标题
     */
    private String wtitle;

    /**
     * 作品内容
     */
    private String wcontent;

    /**
     * 作品所属活动
     */
    private Integer aid;

    /**
     * 作者
     */
    private Integer uid;

    /**
     * 附件
     */
    private String wfile;

    /**
     * 是否删除 0 否 1 是
     */
    private Integer isDelete;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


    public Integer getWid() {
        return wid;
    }

    public void setWid(Integer wid) {
        this.wid = wid;
    }

    public String getWtitle() {
        return wtitle;
    }

    public void setWtitle(String wtitle) {
        this.wtitle = wtitle;
    }

    public String getWcontent() {
        return wcontent;
    }

    public void setWcontent(String wcontent) {
        this.wcontent = wcontent;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getFile() {
        return wfile;
    }

    public void setFile(String file) {
        this.wfile = file;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Works{" +
        "wid=" + wid +
        ", wtitle=" + wtitle +
        ", wcontent=" + wcontent +
        ", aid=" + aid +
        ", uid=" + uid +
        ", file=" + wfile +
        ", isDelete=" + isDelete +
        ", createTime=" + createTime +
        "}";
    }
}
